package com.xiaowei.gym.gymjsp.ware.service;

import com.xiaowei.gym.gymjsp.ware.entity.PersonnelEntity;
import com.xiaowei.gym.gymjsp.ware.entity.SalaryEntity;

import java.util.List;

public interface PersonnelService {

    List<PersonnelEntity> getPersonnelAll();

    int getSalaryCount();

    List<PersonnelEntity> getPersonnelList(String name, int currentPageNo, Integer pageSize);

    boolean delPersonnel(Integer[] delId);

    Boolean addPersonnel(PersonnelEntity personnelEntity);

    boolean modify(PersonnelEntity personnelEntity);

    PersonnelEntity getByid(String sid);
}
